<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.18"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>embedme: libemb::TupleItem Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectlogo"><img alt="Logo" src="logo.png"/></td>
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">embedme
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.18 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'Search');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><b>libemb</b></li><li class="navelem"><a class="el" href="classlibemb_1_1_tuple_item.html">TupleItem</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="classlibemb_1_1_tuple_item-members.html">List of all members</a>  </div>
  <div class="headertitle">
<div class="title">libemb::TupleItem Class Reference</div>  </div>
</div><!--header-->
<div class="contents">

<p>元组元素类  
 <a href="classlibemb_1_1_tuple_item.html#details">More...</a></p>

<p><code>#include &lt;<a class="el" href="_base_type_8h_source.html">BaseType.h</a>&gt;</code></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:a1997806f412257a9729f57db85a5e44a"><td class="memItemLeft" align="right" valign="top"><a id="a1997806f412257a9729f57db85a5e44a"></a>
&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classlibemb_1_1_tuple_item.html#a1997806f412257a9729f57db85a5e44a">TupleItem</a> (int)</td></tr>
<tr class="memdesc:a1997806f412257a9729f57db85a5e44a"><td class="mdescLeft">&#160;</td><td class="mdescRight">构造整形元组元素 <br /></td></tr>
<tr class="separator:a1997806f412257a9729f57db85a5e44a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af6b867b302778a0f4802219a802990de"><td class="memItemLeft" align="right" valign="top"><a id="af6b867b302778a0f4802219a802990de"></a>
&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classlibemb_1_1_tuple_item.html#af6b867b302778a0f4802219a802990de">TupleItem</a> (double)</td></tr>
<tr class="memdesc:af6b867b302778a0f4802219a802990de"><td class="mdescLeft">&#160;</td><td class="mdescRight">构造浮点元组元素 <br /></td></tr>
<tr class="separator:af6b867b302778a0f4802219a802990de"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a76b477f28a318a9cc3a3f72652bd963d"><td class="memItemLeft" align="right" valign="top"><a id="a76b477f28a318a9cc3a3f72652bd963d"></a>
&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classlibemb_1_1_tuple_item.html#a76b477f28a318a9cc3a3f72652bd963d">TupleItem</a> (std::string)</td></tr>
<tr class="memdesc:a76b477f28a318a9cc3a3f72652bd963d"><td class="mdescLeft">&#160;</td><td class="mdescRight">构造字符串元组元素 <br /></td></tr>
<tr class="separator:a76b477f28a318a9cc3a3f72652bd963d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa64c55908cf69ec577a8028348484e9a"><td class="memItemLeft" align="right" valign="top"><a id="aa64c55908cf69ec577a8028348484e9a"></a>
&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classlibemb_1_1_tuple_item.html#aa64c55908cf69ec577a8028348484e9a">TupleItem</a> (const <a class="el" href="classlibemb_1_1_tuple_item.html">TupleItem</a> &amp;)</td></tr>
<tr class="memdesc:aa64c55908cf69ec577a8028348484e9a"><td class="mdescLeft">&#160;</td><td class="mdescRight">拷贝构造函数 <br /></td></tr>
<tr class="separator:aa64c55908cf69ec577a8028348484e9a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1d596371427cf1f75c84d113d4288aee"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classlibemb_1_1_tuple_item.html#a1d596371427cf1f75c84d113d4288aee">baseType</a> ()</td></tr>
<tr class="memdesc:a1d596371427cf1f75c84d113d4288aee"><td class="mdescLeft">&#160;</td><td class="mdescRight">获取元组元素类型  <a href="classlibemb_1_1_tuple_item.html#a1d596371427cf1f75c84d113d4288aee">More...</a><br /></td></tr>
<tr class="separator:a1d596371427cf1f75c84d113d4288aee"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a63c7dc5400880435eb72f032f9c1bb5b"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classlibemb_1_1_tuple_item.html#a63c7dc5400880435eb72f032f9c1bb5b">toInt</a> ()</td></tr>
<tr class="memdesc:a63c7dc5400880435eb72f032f9c1bb5b"><td class="mdescLeft">&#160;</td><td class="mdescRight">元组元素转换为整形  <a href="classlibemb_1_1_tuple_item.html#a63c7dc5400880435eb72f032f9c1bb5b">More...</a><br /></td></tr>
<tr class="separator:a63c7dc5400880435eb72f032f9c1bb5b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2b3451405c1b31d8c8e4bb4c591af38b"><td class="memItemLeft" align="right" valign="top">double&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classlibemb_1_1_tuple_item.html#a2b3451405c1b31d8c8e4bb4c591af38b">toDouble</a> ()</td></tr>
<tr class="memdesc:a2b3451405c1b31d8c8e4bb4c591af38b"><td class="mdescLeft">&#160;</td><td class="mdescRight">元组元素转换为浮点数  <a href="classlibemb_1_1_tuple_item.html#a2b3451405c1b31d8c8e4bb4c591af38b">More...</a><br /></td></tr>
<tr class="separator:a2b3451405c1b31d8c8e4bb4c591af38b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3c4bb3efdc9b291eee83a162979f1b84"><td class="memItemLeft" align="right" valign="top">std::string&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classlibemb_1_1_tuple_item.html#a3c4bb3efdc9b291eee83a162979f1b84">toString</a> ()</td></tr>
<tr class="memdesc:a3c4bb3efdc9b291eee83a162979f1b84"><td class="mdescLeft">&#160;</td><td class="mdescRight">元组元素转换为字符串  <a href="classlibemb_1_1_tuple_item.html#a3c4bb3efdc9b291eee83a162979f1b84">More...</a><br /></td></tr>
<tr class="separator:a3c4bb3efdc9b291eee83a162979f1b84"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>元组元素类 </p>
</div><h2 class="groupheader">Member Function Documentation</h2>
<a id="a1d596371427cf1f75c84d113d4288aee"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a1d596371427cf1f75c84d113d4288aee">&#9670;&nbsp;</a></span>baseType()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int libemb::TupleItem::baseType </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>获取元组元素类型 </p>
<dl class="section return"><dt>Returns</dt><dd>int </dd></dl>

</div>
</div>
<a id="a2b3451405c1b31d8c8e4bb4c591af38b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a2b3451405c1b31d8c8e4bb4c591af38b">&#9670;&nbsp;</a></span>toDouble()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">double libemb::TupleItem::toDouble </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>元组元素转换为浮点数 </p>
<dl class="section return"><dt>Returns</dt><dd>double </dd></dl>

</div>
</div>
<a id="a63c7dc5400880435eb72f032f9c1bb5b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a63c7dc5400880435eb72f032f9c1bb5b">&#9670;&nbsp;</a></span>toInt()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int libemb::TupleItem::toInt </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>元组元素转换为整形 </p>
<dl class="section return"><dt>Returns</dt><dd>int </dd></dl>

</div>
</div>
<a id="a3c4bb3efdc9b291eee83a162979f1b84"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a3c4bb3efdc9b291eee83a162979f1b84">&#9670;&nbsp;</a></span>toString()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">std::string libemb::TupleItem::toString </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>元组元素转换为字符串 </p>
<dl class="section return"><dt>Returns</dt><dd>std::string </dd></dl>

</div>
</div>
<hr/>The documentation for this class was generated from the following files:<ul>
<li>src/<a class="el" href="_base_type_8h_source.html">BaseType.h</a></li>
<li>src/BaseType.cpp</li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.18
</small></address>
</body>
</html>
